package com.homesoft.runtime.core.loaders;

public class FileDependency extends Dependency {
	
	private String fullName;
	
    public String getFullName() {
		return fullName;
	}
	public void setFullName(String fullName) {
		this.fullName = fullName;
	}
	
	@Override
    public int hashCode() {
        return fullName == null ? 0 : fullName.hashCode();
    }
	
	@Override
    public boolean equals(Object obj) {
        return (obj == FileDependency.class) && ((FileDependency)obj).getFullName().compareTo(fullName) == 0;
    }
	
	@Override
    public String toString() {
        return fullName != null ? fullName : null;
    }
}